package com.example.ruoyivoicecall;

import com.example.ruoyivoicecall.common.VoiceUnitUtil;
import com.example.ruoyivoicecall.entity.VoiceInfoEntity;
import org.apache.hc.core5.http.ParseException;

import java.io.IOException;
import java.util.List;

public class T1 {
    public static void main(String[] args) throws IOException, ParseException {
        VoiceUnitUtil util =new VoiceUnitUtil();
        List<VoiceInfoEntity> allDefinedVoiceList = util.getAllDefinedVoiceList();
        if(allDefinedVoiceList.size()>0){
            for (VoiceInfoEntity voiceInfoEntity : allDefinedVoiceList) {
                System.out.println(
                        voiceInfoEntity.getVoiceName()
                );
            }
        }
    }
}
